AC_INIT([class2pic], [0.2])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
#AM_CONFIG_HEADER([config.h])

AC_PROG_CC
AC_PROG_CXX
AC_PROG_YACC
AC_PROG_LEX

AC_CHECK_LIB([gcc], [main])

AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h assert.h sys/wait.h])

AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_UINT8_T

AC_CHECK_FUNCS([memset strerror tempnam unlink])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT
